package models

import "time"

type UserToken struct {
	BaseModel
	Id          uint      `json:"id"`
	Uid         uint      `json:"uid"`
	AccessToken string    `json:"access_token"`
	ExpiredAt   int       `json:"expired_at"`
	CreateTime  time.Time `json:"create_time"`
	UpdateTime  time.Time `json:"update_time"`
	DeleteTime  int       `json:"delete_time"`
}

func (baseModel *UserToken) TableName() string {
	return "ops_user_token"
}
